package com.work.example.demo5.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.work.example.demo5.domain.BooksEntity;
import com.work.example.demo5.domain.formEntity;
import com.work.example.demo5.domain.vo.BookEntityVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface BookService extends IService<BooksEntity> {
    List<BookEntityVo> queryByForm(formEntity formEntity);

    List<BookEntityVo> getAllList();

    void removebook(Long bookId);

    void savebook(BooksEntity booksEntity);

    void updatebook(BookEntityVo bookEntityVo);
}
